package com.jy.adscm.operation.cgxsb.service;

import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.operation.cgxsb.bean.SporadicPurchaseAttchment;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.security.utils.Token;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zyl
 * @since 2019-03-12
 */
public interface SporadicPurchaseAttchmentService extends IService<SporadicPurchaseAttchment> {

    List<SporadicPurchaseAttchment> selectByFileId(Integer fileId)throws AdscmSystemException;

    Boolean deleteSporadicPurchaseAttchments(Integer id, Token token) throws AdscmSystemException;
}
